Small follow on fix to last commit
UI: fix dest select box to only register event listener once

Also unregister previously registered handler when re-registering.

Tests were verified to be working after this change