edit mode infobox and color