fix modal missing problem