fix search modal not work bug