I was just looking at this page: http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/widget/tests/te... for the new 1.2 dojox.Dialog. Looks very impressive. I have two requests if possible.
1. Would be nice if could set the ContentPane mixin as a parameter so you can choose to use dojox.layout.ContentPane if you want script support? I currently have to create a custom dialog widget to get script support (mine is called dojox.Dialog too)
2. Biggest headache with dialogs is being able to easily customize the Title Bar content - I would like to easily be able to replace the "X" button with a Save / Cancel button (my dialogs contain forms, when Save clicked, form is submitted via XHR then dialog closes). Common request from designers is to be able to add simple graphics to title bar. I know I can make a copy of the widget and change around the template for the title bar but it seems like the requests are different enough that each new title bar change requires a new widget which isn't ideal.
Thanks, exciting stuff.
Josh

Pete wrote that for a slightly different purpose...
...and that's not to say what you're asking for isn't right; it's just that I asked him to write that for the Help stuff on the API site, so the original aim was to be able to simply display content and have it closable. I'm sure he'll be interested in adapting it based on some of your ideas, and any other ideas people might have for it.
(You can see it at http://api.dojotoolkit.org , Help in the top right corner.)
Thanks, I originally wrote
Thanks, I originally wrote this after filing trac 6677 to combine Lightbox functionality with Dialog's. peller told me about dojox.Dialog in 1.2. Does this Dialog behave similar to Lightbox in that it'll never extend past the viewport?