save $scope tree, tree_open to window
fix get root childrens if not loaded