Hi, and welcome!
Yes, Zentyal rewrites the configurations files of the services it manages on module or server restart. There is method for hooking custom configuration files into Zentyal, but that can come later.
Since you are learning Zentyal, my immediate interest is, are you sure you have to hand modify Zentyal to replicate the function of your current Ubuntu server?