I am not quite sure what you mean here?. You need to run/use CSM in order to boot from disks/USB sticks!.
The MBR will be overwritten by the Ubuntu GRUB installer, you should install Windows first and then Ubuntu, see the partitioning guide on how to create your partitions!.
Read the first part of this guide and make sure Windows is on the left!