Close commit dialog when all changes are commited - now considers new file as a change.