I have created an input dialog window that has an OK button to submit information and a cancel button to close the dialog window. I want to know, how do I add an event to the cancel button so when its clicked it goes to one of my if statements that I have in my program?
