Fix RateDialog initialization