Fix TextareaEditor bug with confirm dialog popping up when original data contains \r