To cancel a events internal action then call this method from within a event.
Currently this affects only the CancelButtonAction.
If this method is called from within the CancelButtonAction event then internal functionality of clearing the text box is canceled and you can instead implement your own logic.