Popups in Watir

I’ve serched through the posts and I’m having another issue with
popups.

I have a line of code:
$ie.text_field(:name, “text”).set “text”

After the text has been placed in the text field, a pop-up box opens
and wants to now if this is correct. There are two choices “OK” and
“Cancel”

Since the pop up box isn’t triggered by a button clcik, I can’t get
Watir or AutoIx3 to recognize the popup and hit OK.

I’ve tried all solutions that I have found and nothing is working.
Any ideas?