public void Dispose()
 {
     DisplayHeader?.Dispose();
     InfoText?.Dispose();
     WarningText?.Dispose();
 }