proper validation for dialog text nodes