Common Practice when popup a alert dialog in my activity
<p>In my activity, I have an instance variable of AlertDialog aDialog;
under some condition, my activity will pop up a dialog. </p>

<p>My question is if I create aDialog, do I need to dismiss() in my onDestory() or onPause() of my activity?</p>
