Popup menu can be turned off by using flag in option menu
show context menu when rectangular selection
context menu for selected items (copy/cut/delete/make ...) shown only when exist
refactor getSelectedItmsFromHoodleState