Extends the dialog box prevention scheme to the high-level and C++ libraries.