It’s done.
https://github.com/discourse/discourse-staff-notes/commit/52338dd6eb837724b18e5850fd3355eae8a442ee
I like to show the “staff notes” popup itself instead of redirecting. What if I closed the user card before opening staff notes popup? I’m able to do it like this.parentView.parentView._close()