WaitForReturn
(boolean) Whether to wait for the context menu to be dismissed. If set to true, the return value of Application.ShowPopupMenu will be the ID of the selected menu command or 0 if the menu is cancelled. If false, the menu command will fire to the On Menu event of the Project and Page when an item is selected.
Note: If set to false, g_OnUpdateMenuEnabled and g_OnUpdateMenuCheck will also be called when an item in the menu is selected. As well, if WaitForReturn is set to false, the menu commands that are used in the popup menu MUST be represented on the main menu bar as well.