call delete hook even if only internal pages are deleted