delete the Dialog