Handle enter key.