Improve modal sizes variables