Adds relationships edit mode.