Preserve passed-in dialog.dialogClass classes.

So we can use the dialogClass option from jquery.ui.dialog.