dialog boxes for delete class added