When an application opens up a dialog box, does it generate a
mac-scpecific event? As an example, I have an audio program that
throws up an alert box if I do something illegal. I have a background
application that I would like to test for such an event. Does anyone
understand what system processes are involved?

Patrick