[VersionControl] Destroy commit dialog.