add validation to RepositoryEditPanel