Added: createDialogMenu method