fixed IE bug when chat message was sent post window was opening