fix for issue seen on Firefox/IE (and in some situations, Chrome) where
the "Undo" button was causing form submission. In cases of multiple undo
items on the stack, this could cause lost data.