Hide the popup if no data can be displayed