Close sidebar lock comp dialog when other Edit is clicked

Close sidebar lock comp dialog when other Edit is clicked.

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13963#note_39503092

If you open up another Edit dropdown, it should close the lock dropdown YAuSACOHQP

Assignee Loading
Time tracking Loading