Adding Share Dialog functionality