Get error messages to display if JSON is invalid.
Add confirmation to delete.