Correct error causing share modal not to close

* The jquery selector was not selecting the correct DOM element

https://trello.com/c/lrbsFt7F