Add cancel and undo_cancel events to fire action.