added dialog after deleting