added delete action for json view and model editor