React Modal Close On Click Outside