alert.getContent().add(new Label(headerText));
}
if (children != null && children.length > 0) {
alert.getContent().addAll(children);
} else {
final KEY cbk = closeButtonKey != null ? closeButtonKey : KEY.CLOSE;
final Button cb = ButtonBuilder.create().text(RS.rbLabel(cbk)).build();
cb.setOnMouseClicked(new EventHandler<MouseEvent>() {
@Override
public void handle(final MouseEvent event) {
alert.hide();