Abstract base class which presents a dialog associated with a
DialogPreference. Since the preference object may
not be available during fragment re-creation, the necessary information for displaying the dialog
is read once during the initial call to onCreate(Bundle) and saved/restored in the saved
instance state. Custom subclasses should also follow this pattern.