fix: dialog js execution