During Ubuntu Installation to VM, should I "write the changes to disks"?

If you're installing Ubuntu within a new virtual machine, then it's going to be installed to a virtual disk, and yes, it's perfectly safe to click continue. Enjoy your new virtual Ubuntu installation!