The Trace Modality