Added a message box to confirm deletion of items