public DialogFrameworkOptions.Builder resizeObserverCenter(boolean resizeObserverCenter) {
            options.setResizeObserverCenter(resizeObserverCenter);
            return this;
        }
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