Prevent clicking on illegal URLs from adding history
Ensure that popping to intial state restores original URL in preview