annotate click events on the mat with useful data for editor