changed where dialog box opens up and added more dialog prompts