I've been facing a problem on navigation on my apps. I've some Modal page i need to close them when physical back button press and go to immediate previous page. When apps land on main landing page if user press physical back button apps ask a question is "Want to exit". But couldn't get the current page when apps in Modal page. It directly goes Main Landing page and showing the exit message. How can i control this.
Thanks in advance.