Wait for an explicit "Close" by the user instead of closing the DownloadDialog automa...