there used to be a plugin for this, but it was something that dbg sent out notifications that they had a problem with, so it was something that was removed.
mq2react can be used to handle windows when they are open. keep in mind you don't want to just nuke all alert windows, otherwise there are some alerts that you might want to read, that will insta get nuked.