Changed OpenProblemDialog to GridBagLayout to resize correctly