don't close references modal on link / unlink error, closes #4