fixed the problem when hovering on a word, it doesn't always generate explanation(only works for first modal); moved vocabularycard function out of the click function.