fix bug with changing language and modals, EDUID-164