Click the layout to close