Supports action hiding on custom pages.