added isWriting message in message box
fixed messenger box close after contact reconnect