minor ui.Dialog update