How can I cancel a process I've linked in a Blueprint?

I’m making a process to end the game now.

However, I ran into a problem. Please help me.

I want to create a waiting time of 2 seconds after pressing the “quit game” button.

This is in case the user clicks by mistake.

After pressing the cancel button, execute “Remove from parent” to remove the widget in the picture below.

However, the game ends after 2 seconds.

I understand why this happens.

But I don’t know how to solve it. please tell me.

variable default variables:
Slice = 0,1
TimeToWait = 2,0
CountUP = false

Assuming you create a brand new prompt every time the user attempts to quit: