relationship actions now occur before ajax post

for better responsiveness to user.