This results with calling correct methods on the server.
Attach a file by drag & drop or click to upload