dialog() property to set the ID of the dialog?
If I'm creating a dialog using someDiv.dialog(), is there some way to
specify the ID (or class) for that new dialog? For some
reason, .dialog().attr("id", "foo") doesn't appear to work.
If there isn't a way to do this using .attr(), I think ID/class should
be a property, like dialog({ id: "foo", class: bar" }). I've made a
change to my copy of ui.dialog.js to make this possible in the
meantime, and can submit a patch if someone wants to take a look.