Cancel a click on dcc.Link before Location updates?

You might find this post helpful: