Keypress handler is unbound after URL submission