[webui] give an error for relationships added twice