[BUGFIX] changed condition to make upload work with browser dialog and drag/drop

__Tasks:__
- [x] got feedback

__Informations:__

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Tests pass?   | none
| Fixed tickets | none
| Doc           | none