Fixing issue with navigating away from current page - links now update state and prevent default if requesting the current url.