Created the dialog side class for modal dialogs.