I thought that this was already an idea, but I couldn’t find it.
It would be great if Pop Ups can have action framework associated to the closing of it.
Even better would be the ability to block closing based on results of snippet. ie. Return True/False
This would allow the ability to check to see if any models have unsaved changes.
This “Unsaved Changes” is probably so common that it should be it’s own property called "Close Popup behavior when their are unsaved changes:"
- Close (default)