wiring up slider to model and save button