adding the possibility to filter the dialogs by a prefix