Remove enableUnloadProtection from forms during testing