just want to make sure that this doesn't introduce worse behaviour for the user (continuously popping up dialog) when a network with the same SSID is in range. Didn't the auto connect retry on failure change recently to retry after 5 seconds, incrementing the delay until 30 minute. I can't remember how quickly delay is increased. Or has that change not gone it yet?

This otherwise looks good to me.