Catch Enter, Catch Escape
// used to catch form keydowns
catchEnter: function(e) { if (e.keyCode == 13) { Event.stop(e); return true; } else return false; }, catchEsc: function(e) { if (e.keyCode == 27) { Event.stop(e); return true; } else return false; }