fix icon_expr for portal types and icon issue in widget_attachmentmanager.pt