title: Changing the title of jQuery-UI dialog-box with in another dialog-box's function
body: <p>Why doesn't doesn't the second jQuery-UI dialog box title change when popped. The first dialog box I change the title of the box with using the following <code>.attr("title", "Confirm")</code> -- it change the title of the first box to 'Confirm', like it should have. Now when the second box pops up it should change the title to 'Message' since did the same thing for the second box -- <code>.attr("title", "Message")</code>. Right? But it doesnt. It keep the title from before. However, the message change like it should have. I have tested in IE8, Chrome, and FF3.6.</p>
  
  <p><code>&lt;div id="dialog-confirm" title=""&gt;&lt;/div&gt;</code> &lt;-- This is the html before jQuery functions.</p>
  
  <h2>Javascript / jQuery</h2>
  
  <pre><code>$('#userDelete').click(function() {
  $(function() {
  var dialogIcon = "&lt;span class=\"ui-icon ui-icon-alert\"&gt;&lt;/span&gt;";
  var dialogMessage = dialogIcon + "Are you sure you want to delete?";
  $("#dialog-confirm").attr("title", "Confirm").html(dialogMessage).dialog({
      resizable: false,
      height:    125,
      width:     300,
      modal:     true,
      buttons:  {
      'Delete': function() {
          $(this).dialog('close');
          $.post('user_ajax.php', {action: 'delete',
                   aId: $('[name=aId]').val()
          }, function(data) {
              if(data.success){
                  var dialogIcon = "&lt;span class=\"ui-icon ui-icon-info\"&gt;&lt;/span&gt;";
                  var dialogMessage = dialogIcon + data.message;
                  $('#dialog-confirm').attr("title", "Message");
                  $('#dialog-confirm').html(dialogMessage);
                  $('#dialog-confirm').dialog({
                      resizable: false,
                      height:    125,
                      width:     300,
                      modal:     true,
                      buttons:  {
                      'Okay': function() {
                          $(this).dialog('close');
                          var url = $_httpaddress + "admin/index.php"
                          $(location).attr('href',url);
                      } // End of Okay Button Function
                      } //--- End of Dialog Button Script
                  });//--- End of Dialog Function
              } else {
                  $_messageConsole.slideDown();
                  $_messageConsole.html(data.message);
              }
          }, 'json');
      }, //--- End of Delete Button Function
      'Cancel': function() {
          $(this).dialog('close');
      } //--- End of Cancel Button Function 
      } //--- End of Dialog Button Script
  }); //--- End of Dialog Script
  }); //--- End of Dialog Function
  return false; 
  });
  </code></pre>
  
  <p><em>Thank you for you assistant, if you choose to help.</em></p>