I'm currently removing JavaScript validation of registrations, and have already refactored these buttons locally. So don't mind if some hide class was lost :)