Don't create more than one preferences dialog.

https://bugzilla.gnome.org/show_bug.cgi?id=735224