title: How can I disable a button on a jQuery UI dialog?
body: <p>How do I go about disabling a button <a href="http://jqueryui.com/demos/dialog/#modal-confirmation" rel="noreferrer">on the jQuery UI dialog</a>. I can't seem to find this in any of the documentation in the link above.</p>
  
  <p>I have 2 buttons on the modal confirmation ("Confirm" and "Cancel"). In certain cases, I want to disable the "Confirm" button.</p>