Added close event for self handler.