basic functions for slider modal updating