Mark dialogs as modal

So they can be displayed with the correct style.
Make temporary download files "hidden"