The pdf viewer currently opens this window/modal on top of the browser, which means tapping outside of the window would dismiss it.
As a student, I do my highlighting on PDFs so that it can sync to my notion for me to process later. This results in me sometimes accidentally tapping outside the window and dismissing it. Any way to make this pdf view expand as its own tab or something? That would help a ton!