Slowing down the close of the download dialog with 2 seconds to avoid unpeasant flashing dialogs.