Fixed a bug that caused the Discard changes dialog to appear twice when clicking on a replied link in a comment