Fixing multiple click handlers assigned to item dialog.