add keypress to submit