I have a treeview and problem of sharing the same button for two functionalities. The nodes that have children traditionally will be clicked and its subtree will be open, but I also need a way to make the node itself clickable not to open the children, but to open a form. In this case, the node is both a parent node and an item. The form will open over the treeview, like a modal.
I am trying to decide how to make that a good UX experience for the user. So far I've got two options:
Single-click to open the subtree and double-click to open the form (select the parent node). Oh, both the > icon and the text are part of the same button.
Remove the arrow (indicator that it has children) and replace it by a + button to indicate to the user he should click it to open the tree, and click the word to open the form. In this case, I'd need two buttons side by side.
Here's what option 2 would look like:
I am open to new ideas.



