SweetAlert_PopUpModal-Issue Created with CodeSandbox The code consists of a table with clickables TRs and a DeleteButton: When the SweetAlert is shown in modal mode, the background is still clickable, but the click event responds to the last row clicked. There is also an error in the console: CodeSandbox CodeSandbox preview