listbook, how to add an event ?

Hi :wink:

I'm doing a program here and it's using listbook.
So what I'm trying to do right now is that when I click in a page the
program exits. I would like to know if it is possible to "add an
event"
instead of a page to a listbook, or how can I add a page and make it
Close the main frame when I click on it?