Add loading dialogs.
Prevent changing orientation from creating a new activity.