Save template to library