help save referrals form while editting

prompt users before navigating away while referrals dialog is open