call the hide/dispose function after the phetio event call, https://github.com/phetsims/phet-io/issues/1143
call the hide/dispose function after the phetio event call, https://github.com/phetsims/phet-io/issues/1143

phetsims/joist,phetsims/joist,phetsims/joist