@Override
public void onClick(ClickEvent event) {
origDialog.hide();
}
});
origDialog.center();
origDialog.setPopupPosition(origDialog.getPopupLeft() + 1, origDialog.getPopupTop());//for IE 9, the textarea otherwise doesn't take id of other widgets when clicked on
}
public static void showAddAutoCompleteTextDialog(String heading, final AutoCompleterTextBox targetTb, final IDialogCallback eventRegister) {
final DialogBox origDialog = new DialogBox();
final VerticalPanel dialog = new VerticalPanel();