Need auto save feature so that we don't need to explicitly save the template while editing.