"sometimes visible" dropdown loading data when it's set to not being visble

Hi,
My app has a “sometimes visible” dropdown (if the user selects “TEA” show the “tea options”.

The problem is that even when the dropdown is not visible (e.g. user chose coffee), the information from the sometimes visible dropdown (tea options) arrives in the database (so I have an order for a Green coffee).

Is there some way to avoid this sometimes visible dropdown?

In my case, I use another modal screen that contain list with action of updating input field and linked back.

If I need to choose which modal screens to use, I put tmp variable in users collection such as typeid in number, then use it in sometimes visible or conditional action.