allow event to modify original text