Fix issue #4

Instead of listening to a click event, we just need to listen to a submit event.