Add listener to the submit button.

fning