title: Bootstrap 3.0 Modal - How to dismiss with ESC or click outside modal?
body: <p>I have a Bootply test setup here: <a href="http://bootply.com/67311" rel="noreferrer">http://bootply.com/67311</a></p>
  
  <p>When I click the 'X' or the 'Close' button, it works as expected. However, I want it to close/dismiss when the user hits escape, or clicks outside the modal dialog.</p>
  
  <p>How do I do this?</p>