add entry type class name to attachbox ui.