added WarningDialogCalss