Fix race condition where keyup was being sent after the form had been submitted, so the page believed there were outstanding changes