#21 added selection of a template when creating new page