#3582295: limit target_type to file/media fields to avoid field add/config error when field is of other type