Accept "canClose" option for a page