del submit button and add keypress support