delete related menu items when deleting pages