opening save options now closes options on previously opened save. refactoring save functions