That is a weird one. I always thought one had to open a form in design view (even if in code) in order to get that prompt. No other form property that I've ever set had the same effect, but after testing this one, I get it too. It doesn't seem to matter what even on which form it's on, the result is the same. I tried others because the subform opens first, then the main. All I can think of is calling a sub on form close that turns off warnings, then closes the form, then turns warnings back on. Not the safest thing to do for sure. Maybe someone knows how to trap for the design state - something like the Dirty property of a form.
I considered just using a button click event, but assumed you probably allow the form control box, which would allow the user to close via the X button at the top right and bypass the code.
Edit: I would consider setting a flag when the alternate color is changed and base the decision to prompt for a save according to the flag value.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.