mod_admin: move validation inside the category_select block