Kirby 3 - section plugin "add/create" page button

Im working on a section plugin and i try to add a “feature” im not sure how to implement it the right way. what i need is a simple “add/create” page button, the exact same function from the “pages” sections “add” button. i think there are two ways to archive this. build it from scratch with custom k-button and k-dialog, or extend the section plugin, and reuse the core “add/create” dialog? im struggling with both, so is there any doc or boilerplate i can check? Unfortunately i was not able to find any help in the docs or i just miss something?

Am I right in assuming you want to extend a pages section, reuse all of its functionality but add some features?

I think no… It’s just a basic section plugin, build from the docs like this one.

now, i just need the “add” button and the dialog to create pages, no matter what the section itself is for.

Here’s the plugin on our repo, maybe it helps.

https://bitbucket.org/vitamin2/retrotree/src/master/

Ah, ok, no sorry, I don’t know.