Adding context menu to tree