Just call 'addClass' method to add a class to the dialog.
This way I add a class to the inner box, that is the body of my dialog, but it's not what I need: I'd like to add a class to the outer, the window itself.
My goal is: to set the max-width and max-height of the whole dialog, because I don't know how much text my dialog will contain, so I want the dialog growth automatically (according to the amount of content), but not too much.
Is there another way to achieve this?
RIc