added support for an onAddMention callback