Deactivate add relation buttons with empty inputs.

https://www.openproject.org/work_packages/15211
@manwithtwowatches no, there is no trash icon. So I guess we need to introduce it for parents.

Additionally, after adding a parent the button is not disabled right away. It works of the other relations but not for the parent/child one.