adding document from template group Tag