finished implementing ConfigDialog