+1  A: 

You had an extra parenthesis on line 18 and forgot the $ in front of (this) later on the same line. It should read:

'OK': function() { window.location.replace($.cookie("confirmGo")); $(this).dialog('close'); },

Used jslint to locate those errors.

dxprog
oh sorry, that's where I had a decodeURIComponent open, and in the original code I have the right number of parentheses, so that's not the problem...any other ideas?
ysquared86