So I saw that the action "Open Dialog" has a "Then" part, which is triggered when that dialog has been closed.
This is very good, but I was hoping that on Close of the dialog, I would know if the user closed it by cancelling, or it got closed after a successful action.
But apperently, the "Then" will fire regardless if the Dialog has been closed with "Cancel" or not.
In my example, when adding a new record, I open a dialog, and ONLY if the new record is successfully created, in the "Then" I have a new Invoke to reload the grid behind.
But if the user doesn't add a new record, I don't want that event to fire, because nothing has changed!
Is there a way?