6e996d9d2e
The dialog builder was discarding its own context (_) and calling Navigator.pop(context, ...) with the outer screen context instead. This popped NoteDetailScreen off the navigator instead of closing the dialog, causing a black screen and returning null to showDialog so the delete operation never ran. Fix: use dialogContext in the builder and pop that instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>