Hi@Nandheswara Use this JS
(function (document, $) {
"use strict";
$(document).on("foundation-contentloaded", function (e) {
showHideHandler($(".cq-dialog-dropdown-showhide", e.target));
});
$(document).on("selected", ".cq-dialog-dropdown-showhide", function (e) {
...