I don't think that we have an example that demonstrates creating the
container element at the same time as creating the new element. But all
you would need to do is return a command that (in its
#doExecuteWithResult) first creates the container element, and then
creates its child.