Editor Utility Widgets Feedback

Hi. I’m creating a simple Editor Utility Widget. In the construction script I write the message output. After I launch the widget and see its work in the logs.

The first problem is that after each autosave of the project, the script is executed. This is good, but it would be cool to have an analog event-begin play for such widgets, which will be executed only when the widget starts, and not every update or autosave.

Now the second problem. It looks like the UE is not unloading data when the widget is closed. Here is an example below. When the project is saved, the logic is written in the log, which was installed on the construction script in the widget. if I open and close the widget several times and save the project, then the log will be processed as many times as I opened the widget.
The problem is treated by restarting the project.

Video: