Fix issue with clearing ticket textarea when adding messages