I know that acrobat holds the option to add "open/close page event", it can be done manually, like in this guide: http://acrobatusers.com/tutorials/print/entering-page-actions
"app.alert("Page 2 was closed")"
Yes, it's called setPageAction, and it's a method of the Document object.
This is an example:
this.setPageAction(0, "Open", "app.alert("Opened page 1");");