title: How can I close a jQuery UI dialog after a x seconds?
body: <p>How can I programmatically close a jQuery UI dialog after some number of seconds?</p>
  
  <p>I figure I need to do something inside</p>
  
  <pre><code>window.setTimeout(function() {
      //Something here....
  }, 10000);
  </code></pre>