DEV: Export openNewCategoryModal from discovery-categories (PR #9501)

Exporting this function allows plugins to be able to open the “Create Category” modal, without repeating any code.

GitHub

export function openNewCategoryModal(context) {

No need to use the fat arrow here since you’re not making a closure. function is fine!