title: Add class to jquery dialog buttons
body: <p>I want to add css class on buttons of a jquery dialog box. </p>
  
  <p>Here is my code : </p>
  
  <pre><code>$(document).ready(function(){
        $('#messageBox p').html('bla bla bla. Ok?'); 
        $('#messageBox').dialog({
          modal : true,
          buttons: {
            'Yes': function() {
              doSomething();
              $(this).dialog('close');
            }, 
            'No': function() {
              doAnotherThing();
              $(this).dialog('close');
            }
          }
        });
      });
  </code></pre>
  
  <p>For example, I would like add ".red" class on my "yes" button. </p>
  
  <p>How can I do that? </p>
  
  <p>Thank you!</p>