Generates a UI to edit a menu