add support to cancel the navigate in the NavigationService.VIEWMODELONACTIVEEVENT call