Add fundtion to save template(only String) and cansel it.
Add fundtion to save template by dictionary