The page is not a window, and as such it is not directly Closable. Page documentation for the page , The page is intended for a "page of content that you can navigate to, and placed " ...
You will need to get a link to the page node and close it. If you place this page inside a window, you can close this window.
source share