I think that's a good pattern to follow. In this particular case, there was no bug however.
Attach a file by drag & drop or click to upload