Expand on how :on-close affects events fired by frame.