Close window without displaying "Are you sure" dialog box
<p>I have a form. If I try to close it, it shows a dialog box that says:</p>

<blockquote>
  <p>Are you sure you want to leave this page?</p>
</blockquote>

<p>Javascript:</p>

<pre><code>window.parent.location.close();
</code></pre>

<p>Is there a way i can close this window without displaying the dialog box?</p>
