There is an import model in which a custom parameter is added
fields:
reset_autoincrement:
label: reset autoincrement
type: checkbox
default: false
model:
class PageImport extends \Backend\Models\ImportModel
{
public function importData($results, $sessionKey = null)
{
if ($this->reset_autoincrement) {
// create form yes/no
}
}
}
as with reset_autoincrement == true
show pop-up window with yes/no buttons and get button click result?