Handle chat window.