I'm trying to customize the shape hover template and add edit and delete buttons to allow users to click like the screenshot, and these buttons must display only when the mouse hovers on the shape.
I also need to capture user's click events from these buttons, because I need to open a custom window for edit and popup a confirm dialog.
Is there a way I can do this?