Fixed bug with modal windows

Fixed bug which prevented the SocialSharing window from appearing on
the top of a modal window