ticket.89900: Fix dismiss current dialog fragment in concurrent thread caused null problem