js-fix for modal sizes