Show/Hide TouchUI dialog from datasource



I have a dynamic dropdown in a TouchUI dialog that is coming from a custom datasource. There is a second dropdown in the same dialog that I need to come from a datasource and be shown or hidden based on the first dropdowns value. Is what I'm trying to do possible?

I am using AEM 6.5