add edit support to infobox