Made the "check solution" button show a dialog box instead of printing to standard out.