title: TWBS Ratchet - How to close modal manually?
body: <p>I'm building a mobile web app with Ratchet. What I have to do is open a modal, fill a form, press a button then save and close the modal.</p>
  
  <p>I'm able to close a modal with it's documented button, and I'm also able to save the form field...but how to do those things together?  In Ratchet's documentation it's not explained how to close a modal manually using JavaScript. </p>
  
  <p>I'm using Ratchet with AngularJS, so the button calls an Angular function in which I should close the modal.  </p>