add localization plumbings to the modals