// Wait 1s for ajax element close