Added default close event callback