My requirement is to show a confirmation popup when user tries to navigate away from the page.( with in the application). I am able to achieve the same using canDeactivate g