I am using the showDialog() and dismissDialog() to show progress dialogs in my app. Moved from creating the dialog and calling show()
I was experimenting the same issue. I was creating an AlertDialog and a ProgressDialog inside the onCreateDialog() callback and showing them from the onCreate(). Creating these dialogs directly in onCreate (without using onCreateDialog()) and dismissing them in onPause() worked for me!
Based on https://stackoverflow.com/a/5693467/955619