Assuming that a form submission reloads the page, the listener
only needs to execute once.