code: func (obj *Doc) AbortModal(ctx context.Context, accept bool) error {
  	err := obj.rpc(ctx, "AbortModal", nil, accept)
  	return err 
  }
docs: // Aborts any selection mode in an app. For more information about selection mode, see BeginSelections method.
  //
  // Parameters:
  //
  // ◾ accept   -   Set this parameter to true to accept the selections before exiting the selection mode.
  //