title: To display the webpage again, Internet Explorer needs to resend
body: <p>In my ASP.NET WebForms page I have a Modal window that pops up. The javascript code for displaying this modal window is as follows: </p>
  
  <pre><code>function OpenMailAddressWin(subscriberContactRelationGid, routeId, btn) {
      window.showModalDialog("SubscriberSecondaryAddress.aspx" + BuildQueryStringValuesForSubscriber(subscriberContactRelationGid, routeId, returntxtReceiptDate().value), this, strWindowFeatures + ";scroll:no;dialogWidth:442px;dialogHeight:350px");
      location.reload(true);
  }
  </code></pre>
  
  <p>After the modal window is closed I need to refresh the parent page (hence the location.reload(true); statement at the end) in order for alterations made in the modal window to take affect.</p>
  
  <p>Now the thing is that sometimes (not every time, infuriatingly) when I close this modal window I get a warning popup which says:</p>
  
  <p>" To display the webpage again, Internet Explorer needs to resend the information you've recently submitted.</p>
  
  <p>If you were making a purchase, you should click Cancel to avoid a duplicate transaction. Otherwise, click Retry to display the webpage again."</p>
  
  <p>Any ideas why this is happening?</p>