Update: I was able to do it by copying the code given in this answer and replacing product_cat
an Selec a Category
with the name of the taxonomies I was using in the dropdowns and the corresponding label.
In any case, this would be a nice feature to add in a future release.