added a class for the dialog