Pagecontainer: Moving event pagehide into event pagecontainerhide.