Allow callouts to appear when an event is triggered

Callouts can subscribe to any event fired on `window. Sample:
[{
  "localization_key": "run",
  "element_id": "#runButton",
  "on": "function_editor_opened"
}]