add the existence check of the child page at page destroy