add share modal clientside functional interface