Fix stale parent node DOM state after adding/removing a child.
Build sm-treeview.