Handle return press to confirm label edit instead of creating new lines.