Fix for disabling controls during AJAX.

Hey Mike, I uncovered a bug in my code for the ToggleEnableControls for AJAX actions. Here's the fix.