Fixed issue #2710: Allow start-commit hook to prevent the Commit dialog from showing