Implement UI for context menus in treeview