make brightness dialog settings work