IDE-1483 fix class name validation for NewEventClassDialog