[sr-dev] git:4.2:9b0ed6d5: dialog: fix initialization of slot next_id to avoid colision after restart