Reset dm_selected on disconnect