You tried and it didnt work? If you can share your dialog xml, can point if any mistakes. To get started, copy a working dialog from ootb component and edit. Search `cq-dialog-dropdown-showhide-target` at crx, it shows the components implementing showhide. Duplicate the dialog from say /libs/founda...