What is this fixing by registering an empty function for click on the page container?