Close share modal after user presses share button

* The jquery selector was not selecting the correct DOM element

https://trello.com/c/lrbsFt7F