added confirmation dialog for delete operations.