Do we need to specify mode here "local" or "page". Seems like there might be an issue if the html menu or modal bar (find, quick open, etc.) is visible.