It is possible to enter also template definition with tag -dialog (template dialog, template.js, is preferred method to work with template definitions).