only deactivate the menu when the key is not a modifier key.
Attach a file by drag & drop or click to upload