History limit slider, close resets modal