Before this commit, when clicking on menus or debug items or use menu items the URL briefly changed pushing an unwanted history entry. We do want those to be links (tag `a`) with an href to be able to open in a new tab. But we don't want the current url hash to change because of it. This commit fixes this.