select new language using modal dialog