Dismissing a panel while doing a command

I have a panel that after it opens, speaks some text. There is a cancel button that closes the panel. The only problem is it won’t let me click any buttons while it is saying something. I would like it to cancel what it’s saying and close the panel.

Tss, You had openned a thread to ask a question and now I read this one, you aparently solved this other thread.

Next time close it once you have found yourself the solution. Say it’s ok or post your solution.