Change the name of the function showCommitDialog to showHistoryCommitDialog