Added save as functionality to UI