Detecting Close() On Viewbuilder Dialogs

Just a quick question.

Is there a hook or something that I can attach a function to detect when a dialog (shown via show_custom_dialog()) is closed?

My current workaround is to keep checking in the idle loop for .visible = false, but that seems a bit CPU intensive (as it’s firing lots of times).

1 Like

I guess this was recently discussed here:

maybe this helps

There is no such thing yet. But yay, would definitely be useful…

:+1:t3: