Make enter/submit optional.