[ticket/241] Correctly call on_page in portal modules

Fixes #241