Bernhard Wittmann wrote a good tutorial on how to handle dialogs with Vue Router.

vue routere