Validator for component name

Added easier validation of component parameters. When validation fails, it is impossible to apply parameters with the OK button. At the moment only component name is validated.