Fixed close click event