Save As functionality

Added a Save As command to let the user save the current template  with
a new name.