prompts to save (TODO: auto save to tmp directory)