fix refreshing when showing or hiding grib dialog