There are two ways: linking that font setting to a css class (i.e. like the font type but in the css you change font-size instead of font-family) or add something like:
var sizepopup = document.getElementById("ui-dialog");
sizepopup.style.fontSize = settings.fontSize;
Fair warning: it changes right away and the popup may/will probably look weird until closed/reopned.