@Override
    public void onDismiss(final @NonNull DialogInterface dialog) {
        super.onDismiss(dialog);
        ((EditNoteDialogListener) requireActivity()).onDismissEditNoteDialog();
    }
Create a new dialog to edit a note.
<em>This fragment must be inserted into an activity implementing the EditNoteDialogListener interface.</em>

@param initialNote the initial note to insert in the edit dialog
main/src/main/java/cgeo/geocaching/ui/dialog/EditNoteDialog.java