improve(styles): add styles on diagram rendering errors
fix(tasklist/diagram): add toggle close when diagram rendering fails

Related to: CAM-2055