Try to move message searching implementation into separate .js file. Have apiFetch() put errors into state, as appropriate. Add errorDetails display.
Add larger modal text editor. Include JSON representation in JS filtering.