if (dialog != null) { return dialog;
if (display != null) { return display.getWindow(); } else { return null;
    public Container getWindow() {        if (dialog != null) {            return dialog;        }        return iFrame;    }