@leocg exactly, I put down a .pdf (for example), and without doing anything it simply closes when the download is complete.