Vision - closing error box popup via scripting

You could use the first half of my code here to statically retrieve the error & warning panels:

That returns an ErrorPanel, which is a JPanel, so you should be able to walk up from it to the JWindow.