update modal box model css
update modal variables