added pre-page-change warning