if true, right clicking anywhere on the window will cause this context menu to open; if false, must specify targetNodeIds