<moi:CommandButton icon="..." onbuttonclick="moi.geometryDatabase.selectLoop();">Loop Selection</moi:CommandButton>