handle actions through contextmenu, wip