fixed modal box bug