id like to have an option quite similar to the buttons-option, but not to create buttons in the buttons-pane. I want to add some buttons in the Titlebar.
I did some hacking on the ui.dialog.js and got it working for my purposes (see the attached my_ui.dialog.js). Anyway its _far_ away from ready to use, just want to know if you would do it the same way.
I added the option "titlebarbuttons" and changed the css-class of the close-button from ui-dialog-titlebar-close to ui-dialog-titlebar-button as I add this class to every button which will be added to the Titlebar. The TitlebarButtons will be added with the _createTitlebarButtons function.