This seems to be the de-facto way to handle such cases. Fixes #2608.
Attach a file by drag & drop or click to upload