 code we wrote that restores from state. */
      if (0 == @call theTableUI::MSG_MVD_RESTORE_STATE( vp-&gt;VP_state )) {
        /* If there was a problem, discard the UI. */
        @send theTableUI::MSG_VD_CLOSE( GeodeGetCodeProcessHandle(), VCS_CLOSED );
        return( NullHandle );
      }
  }

  /* Whether we're opening a document or restoring from state, we've 
     initialized the UI correctly.  Bring up the dialog box. */
  @call theTableUI::MSG_GEN_INTERACTION_INITIATE();

  return( theTableUI );
