Browser alert causes web spy and record web to close browser

I have a browser alert for confirmation to delete a user. When using web spy and record web to document this step, the browser closes when the alert opens. Help!!

Hi. Please refer to https://forum.katalon.com/discussion/9397/window-close-it-self#latest.
We apologize for the inconvenience.