By collapsing the nodes I sending a new request to my api-server. If the result is empty, I want to add a child node. For this I create a model instance, a node and trying to add them with appendChild, but it didn't work?