This feature should be more generally applicable indeed.
Attach a file by drag & drop or click to upload