removed modaldialog