To load, first define the options, then load the script asynchronously. The
editor takes a callback what will be called with the hotspot array whenever the
user clicks "save". Return true from this if there are no errors.
The syntax is similar to display the image with hotspots. Instead of the
saveHotspots callback, there is an onClick callback that is called when a
hotspot is clicked. It is passed the hotspot object. You probably want the
text property. ALternatively, set the modal property to true and it will
open a modal on click.