added localization to modals