main_app is required here when browsing a page from an isolated engine