I have a modal dialog that I am loading to continue a registration process on my page and I am trying to create a custom close button to give the user an option to cancel registration. I have tried many small variations on the code below, but I can't get the close button to work. The dialog opens just fine, and the close button is populated from my form, but the button does nothing.
Any assistance anyone could offer would be much appreciated. Thanks!