Abstract modal support replaced all hardcoding with scalable controller sizes. Needs testing.