title: finish the Dialog and Activity
body: <p>I have a activity which start with a alertdialog</p>
  
  <p>when i press back button only dialog get close. </p>
  
  <p>I want to close both dialog and activity.</p>
  
  <p>How to do this?</p>