do not trigger navigate action for external links and hash internal links

@mridgway  `NavLink` is not supposed to be used with external links and internal hash links.  Add safety net to not execute navigate action, in case people do use it that way.
Above we're using `var` on each line, should we do that here too?