Removed the dialog class