Make editing friendlier to browser history