I have a dialog box that I am using for a little user input and it was working just fine, now no matter what I do the dialog pops up for one second and then the program dies