diff --git a/client/my-sites/stats/feedback/modal/index.tsx b/client/my-sites/stats/feedback/modal/index.tsx index 92a1d0a3ccbeb..d70510d292059 100644 --- a/client/my-sites/stats/feedback/modal/index.tsx +++ b/client/my-sites/stats/feedback/modal/index.tsx @@ -55,13 +55,11 @@ const FeedbackModal: React.FC< ModalProps > = ( { siteId, onClose } ) => { const handleClose = useCallback( ( isDirectClose: boolean = false ) => { - setTimeout( () => { - onClose(); + onClose(); - if ( isDirectClose ) { - trackStatsAnalyticsEvent( 'stats_feedback_action_directly_close_form_modal' ); - } - }, 200 ); + if ( isDirectClose ) { + trackStatsAnalyticsEvent( 'stats_feedback_action_directly_close_form_modal' ); + } }, [ onClose ] );