only attempt to browse context menu if hasMenu is TRUE