The population genetics of modifier alleles