Fire a different event if modal is being replaced