fixed reattach links inside modal