Fix incorrect sequence number in dialog during file transfer.