thanks, didn't work though, when i click cancel it still goes to the password box

the email input box has a default value of 'email' in it

i thought i might need to use $true or $false to show the cancel button has been clicked