attached dialogs to options menu