title: How to use the direct link to modal window
body: <p>I'd like to use the following code:</p>
  
  <pre><code>function popModal() {
     // code to pop up modal dialog
  }
  
  var hash = window.location.hash;
  if (hash.substring(1) == 'modal1') {
     popModal();
  }
  </code></pre>
  
  <p>How would I use it with the following Modal example:</p>
  
  <pre><code>&lt;a href="#" data-target=".bs-nps-modal" data-toggle="modal"&gt;
  </code></pre>