title: Load modal every 5 min
body: <p>I Need to load a external html page with the modal every 5 min with ajax.</p>
  
  <p>This is what i have now.</p>
  
  <pre><code> &lt;li&gt;&lt;a href="modal.html" data-toggle="ajaxModal"&gt;open modal&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>This works when i click on the link but i need it to open automatically every 5min</p>
  
  <p>I found Other examples but there they didn't use ajax and the modal wasn't on a new page.
  Something like this but then with a html page.</p>
  
  <pre><code>window.setTimeout(function () {
  $("#myDialog").dialog("open");
  }, 30000);
  </code></pre>
  
  <p>Can someone help me?</p>