title: jQuery-ui: enabling disabled button doesn't restore event
body: <p>I have a problem: after enable button, it look like enabled but isn't clickable. (reloading page fix this problem, but i won't do it). Firstly, on (document).ready, i disable this button.</p>
  
  <p>For enable i do:</p>
  
  <pre><code>$("#submit_order").attr('disabled', false).removeClass( 'ui-state-disabled' );
  </code></pre>
  
  <p>for disable:</p>
  
  <pre><code>$("#submit_order").attr('disabled', true).addClass( 'ui-state-disabled' ); 
  </code></pre>
  
  <p>HTML code:</p>
  
  <pre><code>&lt;button id="submit_order"&gt;Send an order&lt;/button&gt; 
  </code></pre>
  
  <p>button jQuery code:</p>
  
  <pre><code>$( "#submit_order" )
      .button()
      .click(function() {
            $( "#dialog-form" ).dialog( "open" );
  });
  </code></pre>
  
  <p>When i clicked this button after enabling, code above didn't invoke.</p>