Verify gallery when editing a page