title: jquery dialog replace close button icon
body: <p>I want change the default close icon button in jquery Dialog.</p>
  
  <p>I tried to add this css class in jquery-ui-1.8.23.custom.css:</p>
  
  <pre><code>.ui-icon-myCloseButton { background-image: url(/path/image.png); }
  </code></pre>
  
  <p>and in the Dialog Definitions:</p>
  
  <pre><code>$('#documentsDialog').dialog({
     create: function(event,ui) {
             var widget = $(this).dialog("widget");
             $(".ui-dialog-titlebar-close span",widget).removeClass("ui-icon-closethick").addClass(".ui-icon-myCloseButton");
  
  });
  </code></pre>
  
  <p>but no luck, any idea?</p>