By these changes, the box shows in correct side depending on the context
Attach a file by drag & drop or click to upload