Knowing that 99,9 % never used classic or has totally forgotten about it, you are a bit on your own.
I gamble that enabling/disabling groups are global. So, look at the flow of enabling/disabling and enable/disable to the original state, before recalling the layout.