CORE-3922 Fix for "redundant remove" exceptions in SelectCollaboratorsDialog.

Remove handlers on SelectCollaboratorsDialog detach rather than hide, since moving the dialog as well as closing it causes onHide to be called.