emit a "cancel" event when cancel control is clicked