Not collapsing message if clicking in a btn or a