Run an editor utility widget by clicking on an actor.

I want to make a note that I can place in the world that opens an editor utility widget by clicking or double clicking on it. However, I’m not too familiar with editor utilities and how they work.

How would I get a function to run in the editor by clicking on an actor?