dialogs count fix