trivial: remove extra braces around lambdas
trivial: rename open_cb() to open_dialog_cb()