modified the way the text fields do their submit on enter