Click the X in the corner of the chat box and it closes. That is as far as it goes, though — closing the window hides the conversation but does not erase it, because the record is retained for moderation.
If you want a message dealt with rather than hidden, use the report function on the sender. That is the only action that leads to content actually being removed.