0 && typeId !== undefined} on:close={() => { dispatch('close') }} > { typeId = evt.detail }} />