modal dialog minification fix