Goon saving the url to the undo list before exiting