also tried this from the latest esp32 s2 example:
auto dlg = renderer.getDialog();
if (!dlg->isInUse()) {
dlg->setButtons(BTNTYPE_NONE, BTNTYPE_CLOSE);
dlg->showRam("Saved", false);
dlg->copyIntoBuffer("to flash");
}
which gives
error: invalid use of incomplete type 'class BaseDialog'
if(!dlg->isInUse()) {
....
note: forward declaration of 'class BaseDialog'
class BaseDialog;
so any idea on how to show a dialog would be great!