I too experience this kind of issues. This is what I did as work around.
1. Create two different scripts. One without pop-up another one with pop-up.
2. Run the excel data sheet with first script. All the data will be successful where no pop-up occur. Other data rows will error out.
3. Run same excel file with second script with option Run on Errors
Hope this will help.
© 2018 Winshuttle, LLC. All rights reserved.