Replaced references to "answers" with "modalVars.questions[selectedQuestion].answers".