How to close the popup message box for conformation after submitting a form?

Hi, I was testing ui.vision in Chrome browser in windows 10. Here is the problem:
The page will popup a message box showing “Are you sure to continue?” with “Yes” and “No” buttons after filling out the form and click the submit button.
The macro will stop and wait when the message box popup.
How can it click the “Yes” button automatically and continue to run?
Thank you!

Hi, can you post a video of this? Ui.Vision should close the popup message automatically - but maybe something goes wrong in your case.