fix passing previous when doing a route and then transition client side
when canceling, just assign location instead of clicking link in case link has changed during routing because of bindings