
When the "Add Repo" dialog was showing and the screen was rotated, it would first leak the AlertDialog because it was not dismissed, then it would crash after rotation, because the AlertDialog was trying to be restored but no longer existed. That's what I think was happening at least... the solution surprised me a bit here...