Meets #6288: Editing relations in modal dialog leads to warning

[``* `#6288` Editing relations in modal dialog leads to warning``](https://www.openproject.org/work_packages/6288)