revert project back to using click instead of form submit