On 'reply' click call

Hi all :slight_smile:
I was wondering how can I add a call method when clicking on the ‘reply’ button in some topic? I want to add some message to pop-up if some conditions are true.
Thank you.