Is there any way to handle dynamic or random popup’s?
You can create unattended automation only when you’re aware of the rules.
In case, the popup title remains same for all windows, then you can use Win Popup handler to click a button.
Otherwise, you’ll have to use attended automation. Or use custom microbot which checks presence of popup and clicks on its button or close it.