private void ImportTemplateDialog_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (_template != null)
     {
         TemplateManager.CloseTemplate(_template.Id);
     }
 }