ignore the error if the surface is not null [bug #795879]
Attach a file by drag & drop or click to upload