simplified in-new-post-form category creation code