Help dismissing application crash error message using error handler

Acrobat sometimes crashes during copying within a try block leaving an annoying finder dialog telling that the application crashed and offering two choices, cancel (which is highlighted) and send error report.

Although this message doesn’t actually seem to hurt my script any I would like to dismiss it using an error handler. Acrobat crashes during copying alot and the window messages start to pile up when unattended.

Seems simple enough, but not sure how to go about it… Is there a better way than to use system events to keystroke return (since cancel is highlighted and what I want to do…)

on error
tell application "finder"
close error message?
end tell

As always, thanks kindly for the help.

I would go for the “return” if you can identify the dialog. (not easy to test).