Show error in UI when document file upload fails
Show an error Alert in the File Upload modal for documents if the filetype wasn't allowed or some other error occurred.
Currently if the backend returns 403, the frontend doesn't show this error. This was never raised as a standalone issue but was reported alongside others in the past: #242 (comment 720798) and #243.