Do you need to show a confirmation dialog after a certain user action? In the following demo, a few common scenarios are covered.
Observe the confirmation dialog after adding a shape from a Stencil element palette, or removing an element via element tools.
Add elements from the Stencil element palette or remove elements via element tools to show confirmation dialogs.
The source code of this demo is available as part of the JointJS+ commercial license. Don't have a license yet? Start a trial and use the source code of this and many other demos for free, with no obligations, for 30 days.