final Owner owner = getSelectedOwner();
InputApplicationDialog renameDialog = new InputApplicationDialog(owner, "firstName");
renameDialog.setTitle(getMessage("renameOwnerDialog.title"));
renameDialog.setInputLabelMessage("renameOwnerDialog.label");
renameDialog.setParentComponent(getWindowControl());
renameDialog.setFinishAction(new Block() {
public void handle(Object o) {
clinic.storeOwner(owner);
getSelectedOwnerNode().setUserObject(owner);
ownersTreeModel.nodeChanged(getSelectedOwnerNode());