Load script tag in frappe dialogue box html field type

Whenever i try to add script in frappe dialogue box html field type .it doesn’t work . can anyone know me that how we can load script in frappe dialogue html field or any dependencies to load script in frappe dialogue box html field.