category: re-added import of g

refs #16101
Merge branch 'bug/16101' into develop
Form should be auto-filled on page load now.

refs #16071
Fixed scoping issue and added delete UX fix.

Previously, when an object was deleted, the next option was not
auto-populated into the old fields. This has since been corrected.

refs #16071