Reshare alert box is appearing twice