I have created a button to create a page from template with the help of this article.
But when I create a new page using the button, it creates a page under the home page of the space.
How can I create the new page under a specific page - or at least a subpage of the page where button is added?