Added Cancel button to custom pages.