After showDialog and after the two repo awaits (getEmail/deleteEmail), the widget may have been disposed — calling ref.read on a disposed ConsumerStatefulElement throws "Cannot use 'ref' after the widget was disposed." Add if (!mounted) return; at both points. Fixes #80 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>