OZP-150: validations on file upload

- Clear box shadow
- refactor show and hide error methods
- validate response, only use json response