Added a confirmation dialog on delete