Also lock/unlock the module only on creation/destruction of the object.
Attach a file by drag & drop or click to upload