DeviceRegistrationDialog cleanup.