closed #4541: [ui] Removed Widget::addNode, added ProtectedNode.