added poll for submitButton so it will always be registered before initiating eventListeners