z-index set to 1000 for chat window .