title: JQUERY assign id to jquery dialog button
body: <p>could one please advise me how i assign an id to a query button. I am using the query dialog modal form (<a href="http://jqueryui.com/dialog/#modal-form" rel="nofollow">http://jqueryui.com/dialog/#modal-form</a>) - trying to style the button but it does not work</p>
  
  <p>my query code:</p>
  
  <pre><code>buttons: {
        "Create an account": addUser,
        Cancel: function() {
          dialog.dialog( "close" );
        }
      },
  </code></pre>
  
  <p>i tried adding it as the below but it did not work:</p>
  
  <pre><code>buttons: {
        "Create an account": { addUser,
          id: "account-btn"
          Cancel: function() {
            dialog.dialog( "close" );
          }
        }
      },
  </code></pre>