title: Close UI5 Dialog when clicked outside
body: <p>I have a sap.m.Dialog box somewhere in my application.
  When the user clicks outside of the Dialog, I want it to close.
  <a href="https://stackoverflow.com/questions/2554779/jquery-ui-close-dialog-when-clicked-outside">in JQuery this works</a>. But in sapUI5 <a href="https://jsbin.com/rifeno/edit?html,js,console,output" rel="nofollow noreferrer">I cannot get it to work</a>. Any ideas?</p>