add server-side reading merge logic for issue #9; uniform handling of buttons in relationship and deletion dialogs.