Commit before editing template.