Automatically closing the accordion if the form is already valid
Patching a class hook