title: jquery dialog close function
body: <p>i want to refresh the parent site when i close my jquery dialog. i look at the jquery site and the close event but i am not sure if i get it. so i would appriciate a litle help on the way.</p>
  
  <p>from what i figure sofar i have to do like this. this is my code for the dialog i use.</p>
  
  <pre><code>$("#dialog").dialog({ height: 700, width: 600, closeOnEscape: true, title: 'View', close: function(event, ui) }).dialog("open");
  </code></pre>
  
  <p>now what i dont get is the close function there, should it be there in the first place? what goes on the event and ui(the close function is straight from the jquery site)?</p>
  
  <p>where should i go from here? </p>
  
  <p>thanks for any help i could get on this. </p>