- guarding against attempt to display dialog in activity which is finishing.