Try this:
0 = [] spawn {
fnc_test = {
Private _idc = ctrlIDC (_this select 0);
Private _selectedIndex = _this select 1;
Private _itemToRemove = lbData [_idc, _selectedIndex];
(findDisplay 602) closeDisplay 1;
_itemToRemove spawn {sleep 0.1; player removeItem _this};
false
};
while {true} do {
waitUntil {Sleep 0.1; !isNull (findDisplay 602)};
hint "Double Click on Item to Remove";
{
((findDisplay 602) displayCtrl _x) ctrlSetEventHandler ["LBDblClick", "_this call fnc_test"];
} ForEach [619,633,638];
waitUntil {Sleep 0.1; isNull (findDisplay 602)};
};
};