Wire up close botton in backward compatible manner.