resolve issue with minification and modal