I am using the showDialog() and dismissDialog() to show progress dialogs in my app. Moved from creating the dialog and calling show()
After pressing the home button and navigating to app morelocal (change device language), when I came back to my app, new dialog boxes could not be closed via dismissDialog (I launched the dialog from activity onCreate).
The solution was to call removeDialog instead of dissmissDialog(). This has been recommended by Harri above, many thx.
I have created an Android bug report:
13858
Solution is to create your dialog using OnPostCreate instead of OnCreate. I added that info to the bug report and recommended to improve the dialog documentation.