Thanks for fast reply, cLFlaVA! It works great, except for one thing: the user can get around it now by clicking Cancel. Here's the code, I'm sure there's a better way of doing this:
function cancel_reason() {
var re = /\S+/;
var reason = prompt("Please provide a reason for canceling the...