BS-10779 Fix model validation error
- Add a validation on the FileWidget. Remove the 'document' feature
reference if exists.