fixed up share button directive and preparing for overlay