title: SweetAlert2 - Bind another event to cancel button?
body: <p>I am using the latest version of the awesome <a href="https://github.com/limonte/sweetalert2" rel="noreferrer">SweetAlert2</a> jquery plugin.</p>
  
  <p>I have a simple SweetAlert with 2 buttons. 1 button is the confirm button, the other is the cancel button. I am using the html option to add a text input to the alert. When the user press the confirm button an AJAX call is executed and the alert is closed. </p>
  
  <p>Now I want to use the cancel button to execute some other code instead of the default action which is closing the alert. (The user can close the alert using the showCloseButton: true).</p>
  
  <p>So in short: How to remove the closing handler and add a own custom handler to the cancel button of swal?</p>