ui: use "close" (not "Ok") buttons to close dialogs

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