Added an Advanced Tab to the TemplateDialog