FIX: modelId not correctly set in isUsingI18n

The values in dynamic dropdown were not localized as $modelId in isUsingI18n method was always null.