Our application is written using Sencha Ext JS framework which includes GoJS for the modeling pieces. When the SelectionDeleting event is fired we put up a confirmation dialog which doesn’t block (async) like a normal JavaScript alert does. When the user clicks a button it invokes a callback. The problem with this is when the dialog is shown the function continues and GoJS deletes the nodes.
Any ideas on how to do this? Can I do e.cancel = true in the event function and later tell the diagram to delete those nodes? Then I wonder if the SelectionDeleting event will get fired again causing more problems?