Remove unecessary confirm as it's been replaced by the markoff yes/no buttons
Switch to  instead of  for dynamic event binding