Bot stops when a there is a popup

Hi guys, i have a ‘For Each Row’ loop and whenever the ‘submit’ button of the site is pressed, there is a chance whereby a popup will occur.

What are the steps i have to do to achieve the following:
If popup occurs > close popup and continue with loop
If there is no popup, continue with loop

Your help is appreciated!

U can use element exist activitiy to check whether there or not and if the pop up is existing then use click activitiy to close the popup

Continue with loop

Hey @marct
If a click activity is associated with closing popup then use continue on error property