Fixed close button callback