fix modal closed event