CV - Is possible to manage multiple popup in a While loop?

Goodmorning,
I need to manage multiple popup that can appear during the execution of a program for a customer.

I need to use a VM to open his program and start the task. During the execution of the task many popup may appear, they are almost always different. The only things they have in common is the “OK” button
Screenshot Popup RLW02

I need to click on OK on every popup that may appear, how could i do this? Thanks

@V.Cimmino yes you can use do while loop activity to click on Ok button

Also if the popup text and measures are always different and only the Ok button is the same?