The OED's definition of tart does say that tarts have no lids and that distinguishes them from pies, but its definition for pie allows for both uncovered and covered pastries. So I'd say that either is a pie, but calling an uncovered one a tart is more precise.
_________________________
Bitt Faulk