title: Refresh parent form from modal dialog in CRM 4 - doesnt always work
body: <p>I have a modal dialog and I want to refresh the parent form when I close the dialog.</p>
  
  <p>I have used this javascript code:</p>
  
  <pre><code>self.close();
  window.dialogArguments.location.reload(true);
  </code></pre>
  
  <p>The problem is that it doesnt always refreshes the parent form. Sometimes it refreshes and sometimes it doesnt and I can't figure out why it doesn't refreshes always?</p>