Refs #17729 - Trigger before and after errata click events

- Annotator trigger afterClick and beforeClick within errata plugin
  in order to be handled from outside this package