In future setup a work station or table away from the tank to frag and do dips. Definitely need more info though. Do a water change if there is any doubt... Why take a chance?
You should definitely dip in fresh saltwater prior to putting back into the tank as well. It helps clean off all the stuff that got killed from the dip any hitchhikers as well shake it off some clean water and a separate container