you don't need to overwrite the whole helperSet as all you need is calling a setter on the dialog helper:

```php
$dialog = $command->getHelper('dialog');
$dialog->setInputStream(...)
```