if ($$?\"Continue with edit? Yes or No.\" == Yes) {
u can just do
if ($$?!=\"Continue with edit?\" == $true) {
that shows an input box with a yes button and a no button