Hi Ben,
The UnfoldTemplateAction resolve how to add the template to the root item due to there are different ways to add a template if the root is a Solution, a SolutionFolder or just a Project. So with that approach you should use different actions for each root type.
The issue with the newItem seems a bug in the UnfoldTemplateAction builtin action. I'll look into it and get back to you.
jose.