Explicitly ignore non-keyboard events, and explicitly handle C-g.
Attach a file by drag & drop or click to upload