System.err.println("popDialog: " + count);  reload();
    public final SDialog popDialog() {        int count = getComponentCount();        if (count <= 1)            throw new IllegalStateException("there's no dialog left!");        SDialog dialog = (SDialog)getComponent(count - 1);        super.removeComponent(dialog);        dialog.setFrame((SFrame)null);        return dialog;    }