Enhanced to preserve input id when BoxControl is constructed