fix modal if too high