[Text Selection] fixed issue with allOk event