adjust modal box