Ensure consistency among 'Cancel'/'Cancel editing' links on #edit/#new actions