refactor modal partial

using locales for static text
avoiding denials