don't dispose / remove later if not running in browser