ESC cancels the slider if it's open