Fixed NPE in support library while closing unattached FragmentDialog