Dialog is an implementation of Panel that can be used to submit form
Built-in functionality for buttons with event handlers is included.
If the optional YUI Button dependancy is included on the page, the buttons
created will be instances of YAHOO.widget.Button, otherwise regular HTML buttons
will be created.
Forms can be processed in 3 ways -- via an asynchronous Connection utility call,
a simple form POST or GET, or manually. The YUI Connection utility should be
included if you're using the default "async" postmethod, but is not required if
you're using any of the other postmethod values.