title: JQuery + Dialog Open + Timeout
body: <p>I have a dialog window in my JSP page and its implemented using jQuery.</p>
  
  <p>If my server is timed-out and I click on a button to open the dialog window, my login-page is shown inside the dialog window.</p>
  
  <p>I want to actually close the dialog window, and redirect to the login page.</p>
  
  <p>How can I achieve this?</p>