Help to make a confirmation messagebox when in event

Hello, im looking how to display a messagebox in admin backend when a event is called, the event is triggered when i change order status in backend, but i need to display a confirmation message before the event executes my function. someone knows how to do this?

it will be better if this can work in all shopware versions