Fix warning: weak variable is accessed multiple times in this method
Recognize taps on the MessageView and only call the callback if the user dismissed the messageView with a tap