Remove JavaScript effects from modal popups.