add filter and validation to the reference source selector