modified nav view to emit events on button click to view controller to switch or veto view switch