opens message on click