Got the edit button to put the name of the template into the text feild