code: def create_dropdown_feature_filter(
      n_clicks_add: Optional[int], options: list
  ) -> html.Div:
      """Create a new dropdown for the filter feature selection.
  
      Parameters
      ----------
      n_clicks_add : Optional[int]
          Number of clicks on the add filter button
      options : list
          Options for the selection
  
      Returns
      -------
      html.Div
          Div containing the dropdown
      """
      # ID index definition
      if n_clicks_add is None:
          index_id = 0
      else:
          index_id = n_clicks_add
      # Appending a dropdown block to 'dropdowns_container'children
      subset_filter = html.Div(
          id={"type": "bloc_div", "index": index_id},
          children=[
              html.Div(
                  [
                      html.Br(),
                      # div which will contains label
                      html.Div(
                          id={
                              "type": "dynamic-output-label",
                              "index": index_id,
                          },
                      ),
                  ]
              ),
              html.Div(
                  [
                      # div with dopdown button to select feature to filter
                      html.Div(
                          dcc.Dropdown(
                              id={
                                  "type": "var_dropdown",
                                  "index": index_id,
                              },
                              options=options,
                              placeholder="Variable",
                          ),
                          style={"width": "30%"},
                      ),
                      # div which will contains modalities
                      html.Div(
                          id={
                              "type": "dynamic-output",
                              "index": index_id,
                          },
                          style={"width": "50%"},
                      ),
                      # Button to delete bloc
                      dbc.Button(
                          id={
                              "type": "del_dropdown_button",
                              "index": index_id,
                          },
                          children="X",
                          color="warning",
                          size="sm",
                      ),
                  ],
                  style={"display": "flex"},
              ),
          ],
      )
  
      return subset_filter
  
imports: from typing import Optional, Tuple
  import numpy
  import pandas
  import datetime
  from dash import dcc, html
  import dash_bootstrap_components
label_desc: Use image node_id 19 for calling a global function with example usage: create_dropdown_feature_filter(n_clicks_add, options) and returns: subset_filter