title: bootstrap modal loading content via remote url, wait for modal to fully load content until being shown
body: <p>i'm able to load content via a remote url into a bootstrap modal, but the problem is the modal window opens up, but the content is not loaded. </p>
  
  <p>Once the content is loaded the body of the modal is updated and the height expands to fit the content of the modal. </p>
  
  <p>However, i'd like to only display the modal once the content is fully loaded, and maybe display an animated gif while the modal is loading. </p>
  
  <p>I've looked at the docs, but i didn't see anything there about maybe a callback once the modal is loaded. I was hoping to maybe keep the modal hidden until the callback was fired and show it.
  how can i do this?</p>