Create editor utility widget

I was trying to figure out a way to automatically create an editor utility widget when pressing a custom editor button. After many trials i finally came up with a solution that works

That's the delegate bound to my click button

What i do here is loading my widget through reference, since i'm using an editor plugin and there's no way to reference the widget via a variable

Here's the code related to tab creation in case there wasn't an existing one