How to open a jQuery dialog box only when first visited/refreshed
<p>Is it possible to set a specific webpage to auto open a jQuery dialog box only when first visited/refreshed and not open every time other pages lead to the page?</p>

<pre><code>/*HTML*/
&lt;div id="dialog" title = "Welcome" class="white"&gt;
    &lt;p&gt;Please Enter Your Name&lt;/p&gt;
    &lt;label for="FirstName"&gt;Name: &lt;/label&gt;
    &lt;input type = "text" id="input"/&gt;        
&lt;/div&gt;

/*jQuery*/
$(function () {   
$("#dialog").dialog({
modal: true,
dialogClass: 'defaultDialogClass',
buttons:{
    Ok: function(){
        $(this).dialog("close");               
                  }
        }
    });
});
</code></pre>