'Inits just the same as preference window dialog, but
disconnect from key_reactions and connect to strict_key_reaction.
Also connect destroy with the OK function: if the user manages
to close the dialog, that\'d be just as pressing OK'

def __init__(self, reload_ws_callback, connect_to_couch, parent, exit_faraday_callback):

    PreferenceWindowDialog.__init__(self, reload_ws_callback, connect_to_couch, parent)
    self.set_deletable(False)
    self.exit_faraday = exit_faraday_callback
    self.disconnect_by_func(key_reactions)
    self.connect('key_press_event', strict_key_reactions)
    self.connect('delete_event', (lambda _, __: True))
