use a lot of addChild methods. This should get you started:
var newForm:Form = newForm();
var yesBut:Button = new button();
var noBut:Button = new button();
var label:Label = new Label();
newform.addChild(yesBut);
newform.addChild(noBut);
yesBut.AddEventListener(MOUSE_EVENT.Click,yesFunction);
noBut.AddEventListener(MOUSE_EVENT.Click,noFunction);
label.name = "myLabel";
label.text = x;
//create your yes and no functions
private function yesFunction(event:MouseEvent):void{
var x:String = event.currentTarget.parent.getChildByName("myLabel").text;
trace(x);
hbox.removeChild(event.currentTarget.parent);
}
This is off the top of my head, so some of it may need to be worked a little to function properly