Fix "Cannot move project" error message from popping up after a successful transfer
The JavaScript click handlers were never being removed, leading to duplicate requests when attempting to transfer a project to another namespace. The first transfer would succeed but the subsequent ones would fail, leading to the error message saying, "Cannot move project".
I attempted to write a unit test for this, but it was taking me too long to get it right.
Closes #1448 (closed) and #1128 (closed)