Isn't there a simpler way? All I want is to check that 1 of 2 bools has been set to true, and other similar things with other buttons. I was hoping I could just check the variables and prompt the user to finish off the input before the dialog closes?

Btw, I've made this dialog with the visual editor so what is the easiest way to access the different components, like radio buttons?