title: Want to be on Child Dialog on Page Refresh in jQuery
body: <p>Here is my working Code:</p>
  
  <p><a href="http://jsfiddle.net/jvaibhav/EbQ2x/1/" rel="nofollow">Working fiddle</a></p>
  
  <pre><code> var dialog = $( "#dialog" ).dialog({
        autoOpen: false,
        modal: true,
        buttons: {
          Add: function() {
            addTab();
            $( this ).dialog( "close" );
          },
          Cancel: function() {
            $( this ).dialog( "close" );
          }
        },
        close: function() {
          form[ 0 ].reset();
        }
      });
  </code></pre>
  
  <p>When I am clicking the Add Tab, It will display a jQuery Dialog and on page refresh I am not able to see Dialog. </p>
  
  <p>I want to retain the jQuery Dialog on Page refresh.</p>
  
  <p>What to do in this case ?</p>