Show UI extension once Compose `Publish/Unpublish` is triggered

Hi Contentful team,

I’ve been playing around with UI extensions and it’s working wonderfully.
However, I have a certain use case, where I want to display a dialogue (sdk.dialogs.openConfirm) once the author clicks on the publish or unpublish button in Contentful Compose and show a warning.
The author should have the option to cancel the publish/unpublish event or proceed with it.

Is is possible to do that now?

Thank you :slight_smile: