added dialog to menu options, still not working properly