changed page labels to page buttons and only allowed to create page if non-empty name