confirm the deletion if the item has children