Revert "Fix: unbind reference entity opened from tableview."

This reverts commit a60cb86f6b9d8917d6dbd749d806d76a52ad7b4c.