Save page state in link