#521 add library for the advanced post form
#521 make pages field required