title: When pressing back on a dialogfragment, how do I close its containing activity?
body: <p>I have a splash screen Activity that shows a custom DialogFragment.  When I press back, I want to close not only the dialogfragment but it's containing activity.  </p>
  
  <p>The DialogFragment lacks a onBackPressed(), otherwise I would put </p>
  
  <pre><code>getActivity().finish() 
  </code></pre>
  
  <p>in that callback.  I also don't want to put that in onDetach() because if the user clicks on an element in the dialogfragment, it should populate a listview in that same splash activity instead of closing the app.</p>