title: Child fragment of BottomsheetDialogFragment crashes after second attempt opening
body: <p>I have a fragment which is a child of BottomsheetDialogFragment, inside that fragment I have a google map. At first when I open this fragment using arch components <strong>NavController</strong> it works fine, than if I close this fragment and than try to open it again it crashes. 
  This is the error log</p>
  
  <pre><code>Error inflating class fragment
  Caused by: android.view.InflateException: Binary XML file line #71 in com.example.com:layout/product_location_fragment: Error inflating class fragment
  Caused by: java.lang.IllegalArgumentException: Binary XML file line #71: Duplicate id 0xffffffff, tag mapFragment, or parent id 0xffffffff with another fragment for com.google.android.gms.maps.SupportMapFragment
      at androidx.fragment.app.FragmentLayoutInflaterFactory.onCreateView(FragmentLayoutInflaterFactory.java:116)
  </code></pre>
  
  <p>Here is the fragment itself</p>
  
  <pre><code>  class ProductLocationFargment : BottomSheetDialogFragment, {
  
  
    override fun onCreateView(
      inflater: LayoutInflater,
      container: ViewGroup?,
      savedInstanceState: Bundle?
    ): View? {
      return inflater.inflate(R.layout.product_location_fragment, container, false)
    }
  
    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
      super.onViewCreated(view, savedInstanceState)
      //this also always returns null
      val frag = childFragmentManager.findFragmentById(R.id.mapFragment) as? SupportMapFragment
  
    }
  
  }
  </code></pre>
  
  <p>and layout xml</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:app="http://schemas.android.com/apk/res-auto"
          xmlns:tools="http://schemas.android.com/tools"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
        &lt;fragment
          android:tag="mapFragment"
          android:name="com.google.android.gms.maps.SupportMapFragment"
          android:layout_width="0dp"
          android:layout_height="match_parent"
          app:layout_constraintStart_toStartOf="@id/leftGuideView"
          app:layout_constraintEnd_toEndOf="@id/rightGuideView" /&gt;
  
  
      &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  </code></pre>
  
  <p>This is how I'm starting that fragment from another fragment</p>
  
  <pre><code>button.setOnClickListener {
    val direction = AnotherFragmentDirections.actionAnotherFragmentToProductLocationFargment()
    navController.navigate(direction)
  }
  </code></pre>