Added a confirmation dialog for deleting database items