Hi everyone, i build an app to manage event from Office365 calendar events. So I create a part to delete event and everything works , now i want to have pop up confirmation but i can't do it.

When i click on red trash , pop up opens

If click on "No" pop up goes to close and it's right.
The problem is when I click on "SI" (Yes). I can't to do what i want.
At the moment only way is to not have pop up and clicking on red trash and then event deleted.

Please help me.
All the best