selected window even if it is a minibuffer window, if it is active.
Attach a file by drag & drop or click to upload