Tweaks to the dialog localization - now dynamically created