adds a prompt for saving