Change restart handling to show a dialog first (ref #49).

The notification is only shown if the dialog is dismissed, in which
case the dialog won't show up as long as syncthing is not restarted.