moved commit methods to CommitDialog
added empty frame for amending a repository's head commit