Close share popup when button clicked