added submit on pressing enter