Can I call the GNOME restart confirmation prompt from the command line?
/usr/lib/indicator-session/gtk-logout-helper -r
will do it.
Note that this is not the upstream GNOME restart dialog; it's specific to indicator-session. You'd invoke the GNOME one with gnome-session-save --shutdown-dialog
.