OMG , there's option "save userData" in edit.js can we detect save event in script?


Feels a bit stupid.
I just noticed that there’s a black button in edit.js, named.

Lucky i found it on the right moment, that make things much more easy for uisers to configure my door. And againa bit more error proof. When you change something in userdate. Why did i have not noticed that black button before ? Is it new ?

Anyway, is there a way to detect in the same entity if you have pressed that button to update userData ?