Make sure that the beforeactivate event isn't accidentally prevented.