also added error handling and displaying to the user.
Attach a file by drag & drop or click to upload