Can somebody tell me what is wrong with this code? It causes an infinite loop as I try to combine the Alert box and the combobox...! Help much appreciated!

Code:
var cmb_listener:Object = new Object();
cmb_frekvens_listener.change = function(evt_obj:Object)
{	
 	var currentlySelected:Object = evt_obj.target.selectedItem;	
	
	// Flasher Alert: Define action after alert confirmation.
	var alert:Function = function (evt_obj:Object) 
	{		
		if (evt_obj.detail == Alert.OK) 
		{						
			trace ("New data: " + currentlySelected.data);	
			trace ("New label: " + currentlySelected.label);		
		}
		
		else
		{				
			trace("Cancel pressed!");
		}
	};	
	
	// Show alert dialog box.
	var warning_header:String = "Confirm!";
	var warning:String = "blah blah";
	var myAlert:Object = Alert.show(warning, warning_header, Alert.OK | Alert.CANCEL, null, alert, "Utropstegn", Alert.OK);							
	
};

cmb_frekvens.addEventListener("change", cmb_listener);