In my experience, it's far simpler to have a standard contract where IP isn't owned by the customer until the project is paid in full.
NDAs are well and good, they make lawyers feel more comfortable. But, you can't "own" something until you "pay" for it. Two things, not related.