Hide loading dialogue when slider is collapsed