title: How to close a jquery modal dialog and refresh parent page
body: <p>i'm not able to close a jquery dialog.
  Below are my code.</p>
  
  <p>I have a parent page called academic.asp which will open a modal dialog by jquery plug in.</p>
  
  <pre><code>function openPopupDialog(location, windowTitle, heightValue, widthValue) {
  
      var $dialog = $('#dialogWin').load('submission.asp')
          .dialog({
                autoOpen: false,
                modal: true,
                draggable: false,
                resizable: false,
                title: windowTitle,
                width: widthValue,
                height: heightValue
           });
  
      $dialog.dialog('open');
  
      return false;
  }
  </code></pre>
  
  <p>My modal window will load a page "submission.asp"</p>
  
  <p>i will do some submission in my modal window by using ajaxForm as below:
  paperForm = my form name</p>
  
  <p>How to close the modal and refresh parent page?</p>
  
  <p>Thanks in advance :)</p>