https://paste.pythondiscord.com/SZFA
Two things that are wrong with what's happening:
First, the window.close() method never seems to get called until both windows have had submit hit. not sure why.
Second, after the second window, it seems to overwrite the PossibleAnswers dictionary in the first question with the dictionary from the second. I have no clue why. I store it as a part of a testQuestion object, which shouldn't be modified anymore after the first instance of createQuestionGUI. I know its a big project, I appreciate everyone who gives me suggestions!