public event cancelled as ActionEvent
Emitted when the user cancels with the button, Escape key, or close icon.
chooser.cancelled += lambda(event: ActionEvent): print("Cancelled")