This cleans up the error path in the open() call to make a bit more sense.
Attach a file by drag & drop or click to upload