[dialogs-mod] add singleton pattern