public override NSViewController PopViewController (bool animated)
{
if (!this.routerInstigated) {
// user must have clicked Back button in nav controller, so we need to manually sync up the router state
this.Router.NavigationStack.RemoveAt (this.router.NavigationStack.Count - 1);
}
return base.PopViewController (animated);
}