Actually, we just need to do like Direct3D: catch left-click.
Attach a file by drag & drop or click to upload