added check for modal to disappear in _change_lang_promise
Merge pull request #3775 from edx/clytwynec/bokchoy-language-test-fix

added check for modal to disappear in _change_lang_promise