Bug 892381 - Implement dispose method on PageMode that is inoved on unload.