Added confirmation dialog boxes for delete functions