"I am found get last error 401 but i can not figure how to close the No Records match window"
No need to close that window ( it will not appear ) if you'll trap the error with the script step:
Set Error Capture [ ON ]
before performing the Find.
After all these years I finally got that pop up "no records found" window out of the way.