I am trying to display a dialog box directly as a ShowModal component as we used to do in NativeScript 3.x. With NativeScript 4.x, do we always need to define a wrapper component which has page-router-outlet? If we are not doing it, my code does give me issue. Please find code to reproduce the issue where navigation does not work fine.
Flow should have run as
Login -> Select Location -> StaffList
whereas it runs as
Login -> Select Location -> Login
More details available in code.