Close the slide popup when the section is empty