Added ability to have super-class dialogs