Eliminate more unlock/lock transitions, making the code more robust.
Attach a file by drag & drop or click to upload