switch between templates in edit/new mode