More specifically, my problem is that when you have disabled the menu and navigation bar, which I have to since my application has its own navigation, there is no way to get back to the application from the pdf viewer. There is no back button, and the close button closes the entire app.
The best solution for me would be to open the pdf viewer in a popup so the user can close this and go back to the main app.