PivotTableApp.dialog extracted