GTNPORTAL-3529 Make UIContainer creation more flexible