if you set 'useDebugModel' to true, the SmartDialog function will be closed
final bool? useDebugModel;