Code example for DialogFragment

Methods: dismiss, getActivity, getArguments