title: How to get bootstrap modal size
body: <p>I have a bootstrap modal whose size is set by:</p>
  
  <pre><code>&lt;div class="modal-dialog modal-lg"&gt;
  </code></pre>
  
  <p>I want to be able to determine the modal's size (width actually) before I make a post request to a PHP program to display some dynamic content before displaying the modal. Does anyone know how to get this information?</p>