[#1266] Implemented the delete menu hook