title: Jquery ui Dialogue close event to refresh window
body: <p>I need a way to reload my parent page when I close my jqUI modal window.  Somehow or the other, what I am currently doing is not working (imagine that)...</p>
  
  <pre><code>$('div#addPat').live('dialogclose', function (event) {
                  debugger;
                  location.reload(true);
              });
  </code></pre>
  
  <p>I never get to the debugger statement so I assume just assume that my event is wrong...</p>
  
  <p>How do I get the close dialog event and how can I use it to reload the page... I think I have the second part figured out.</p>