{% for scripts in __widget_scripts__.values() %}
{% if scripts is string %}
{% else %}
{% for scripts in scripts %}
{% endfor %}
{% endif %}
{% endfor %}
{% if __no_html_mode__ %} {% include 'no_html_main.html' %} {% else
%} {% include 'main.html' %} {% endif %} {% include
'dialog_window.html' %}