title: Angular UI Bootstrap modal
body: <p>I am using Angular UI Bootstrap modal (ui.bootstrap.dialog) and I have backdrop: true &amp; backdropClick: true. </p>
  
  <p>But when user clicks away from the modal, I want to perform not only close but additional functions. </p>
  
  <p>I was looking at the source code thinking I could overwrite Dialog.prototype._bindEvents but have not had any luck doing it. </p>
  
  <p>I also think this might be 'hidden' event in original bootstrap modal, but I was not able to catch this event. </p>
  
  <p>Is there a way to do define a function to execute on backdrop click, and how would one go about it.</p>
  
  <p>Thanks
  --MB</p>