AI suggestion to prevent binding duplicated listener confirm.ts <img width="716" height="852" alt="Image" src="https://github.com/user-attachments/assets/23b7fb37-d239-498e-b20a-4fae8793d5ad" />