Hack to avoid inadvertant File and Layout menus in the NetworkContext
menus.

Change-Id: I65004c381e7d0c7d5501accebf1bcaa699215a7e