contextmenu plugin passes its event to select_node