Hi Chinky,
in this case i guess , sine the message appears on a pop-up , it will only get triggered once some event is triggered, so just check the logic of that particular event , you can see some function module written for that.
Hope this Helps.
Regards