FragmentTransation needs to commit after showing dialog