- added funcitonality for detecting a form's submit buttons