possible null check for relationship dialog