Callback is now called when the message view is dismissed.