Add and update referrer now works with modal