:compiled templates and snippets creation

When under creation, templates or snippets are added to the root DOM
element instead of the body DOM element.