automatically exporting a sidecar file

Yes, the XMP is always overwritten. You can turn off writing the XMP, and use write sidecar files to create them manually; or you can get into the habit of using duplicates.