fixed #292 edit relationship dialog