change some of the methods for showing modal dialogs during downloads from websites. Perhaps make macos more stable