modal will call destroy on $destroy. fix selector sync()