JQuery Dialog while PHP requesting
<p>I have this php files:</p>

<p>index.php</p>

<pre><code>echo '&lt;a href="./edit.php?id=1"&gt;Edit&lt;/a&gt;'; 
</code></pre>

<p>and the edit.php</p>

<pre><code>&lt;?php

$id = $_REQUEST['id'];

if ($icao != NULL) {

    header("Location: ./index.php?id=$id");
}

?&gt;
</code></pre>

<p>When I click in the Edit link PHP redirect you to index.php. How I can put a JQuery Dialog when the PHP request and redirect is doing? I know the code to do a JQuery Dialog but I don´t know where I need to put the dialog.</p>
