Code example for DialogFragment

Methods: onSaveInstanceState