public DialogFrameworkOptions build() {
            return options;
        }
Can be used together with resizeObserver = true.
Centers the dialog again after it was resized to ensure the whole dialog is visible onscreen.
@param resizeObserverCenter
@return
primefaces/src/main/java/org/primefaces/model/DialogFrameworkOptions.java