add user interaction listeners to chat window view