Changed the chat window to a popup with a custom closing button.
Merge pull request #2293 from ddobrev/xmppchat

Changed the chat window to a popup with a custom closing button.