Tree normalized

* unfolds after adding item.
* popup works after adding item.