Fixed return value of activate to make sure the form still submits, only attaches on submit to forms, and on click to imput elements