I have a very small space for a button. I successfully created the button just how I need it. It has the following classes: class="btn btn-default (from Twitter's Bootstrap).
I then added an onclick dialog event to the button with jQuery-ui (see: http://jqueryui.com/dialog/#modal-form). Now my button has become LARGER than before breaking the layout. When I look at the button with firebug I see that jQuery-ui added several classes to my button "without asking" it looks like: class="btn btn-default ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
How can I keep the jQuery-ui dialog onclick event, but NOT have it add all those additional CSS classes to my button?