The suggestion works partly. It holds but it causes the engine to freeze once it tries to read in the conditions of each OnClick. For Example Setup button checks to make sure that the user entered valid data, if the password field is blank it notifies the user and exits out of the click function and waits back at the form for a valid entry. What happens now is that when a user presses setup without entering data into the password text field it notifies the user and then exits out of the script without continuing the rest of the script programming. Same thing for cancel button. Its ignoring the conditions. I tried to insert a counter statement to return if the buttons were pressed. no luck.