title: How to close all active bootstrap modals on session timeout?
body: <p>I need to make a call when the user is idle and passes the session time out that will close all Bootstrap modals. The modals being active are dependent on what the user is doing at the time so I would like to do something that's is all encompassing.</p>
  
  <p>I tried:</p>
  
  <pre><code>$('.modal').modal('toggle');
  </code></pre>
  
  <p>When the time out occurs but my modals are still there.</p>