Open an entity in new browser window for printing

Hello,
I can now print an entity using some css in @media print to remove menu and headers.
Unfortunately when from list view I go to detail view I lose the content of the filter in the page so now I open entity in a vaadin-dialog-overlay.
This time I am not able with css only to print only entity content (because I have not found the css selector for the section id=“resizeContainer” tag inside div part=“overlay”
So my idea is to open the entity in a new browser window (or tab). But I see the api to open a new browser windows are only in jmix 1.5 and I cannot find them in 2.0
What can I do? Have you other ideas to visualize the entity only so I can easily print with a minimal css?