test the right function and improve error handling
refactor ontology delete view, use i18n and modal