Click the button again to close the sidebar.
To open the Comments & Changes sidebar, click in the toolbar, then choose Show Comments & Changes Pane. You can review and edit changes in the Comments & Changes sidebar on the left side of the Pages window.