public DialogFrameworkOptions.Builder responsive(boolean responsive) {
            options.setResponsive(responsive);
            return  this;
        }
In responsive mode, dialog adjusts itself based on screen width.
@param responsive
@return
primefaces/src/main/java/org/primefaces/model/DialogFrameworkOptions.java