Also added error message in case the library open failed in that case.
Attach a file by drag & drop or click to upload