+ return t;
+}
+
+static void
+psppire_dialog_action_activate (PsppireDialogAction *act)
+{
+ gint response;
+
+ PsppireDialogActionClass *class = PSPPIRE_DIALOG_ACTION_GET_CLASS (act);
+
+ gboolean first_time = ! act->toplevel;
+
+ set_toplevel (act);
+
+ act->dict = PSPPIRE_DATA_WINDOW(act->toplevel)->dict;
+ if (act->source)
+ g_object_set (act->source, "model", act->dict, NULL);
+
+ GSList *wl = g_object_get_data (G_OBJECT (act->toplevel), "widget-list");
+ wl = g_slist_prepend (wl, act->dialog);
+ g_object_set_data (G_OBJECT (act->toplevel), "widget-list", wl);
+
+ gtk_window_set_transient_for (GTK_WINDOW (act->dialog), GTK_WINDOW (act->toplevel));