title: onResume() isn't triggering on TabHost items switching
body: <p>I have a <code>TabHost</code> with two <code>tabs</code> in it. The first time I switch to the second <code>tab</code> the <code>onResume()</code> method of my second's <code>tab's activity</code> invoked. Then I have an <code>AlertDialog</code> shown and after it disappears the 'onResume()' method isn't called but I really wait for it. I presume that invocation of 'AlertDialog' triggers 'onPause()' method and the 'onResume()' should be called before 'Activity' is actually shown and ready for interaction with user. But in face 'onPause()' isn't called when I switch back to the first <code>tab</code> which is another <code>activity</code>.</p>
  
  <p>Can you advice why the 'onPause()' and 'onResume()' methods aren't called and what methods are called after showing an 'AlertDialog' or switching between <code>tabs</code>?</p>