tree is synched with editor

selected node value will be shown in editor