Bind message dismissal to user session.