Added the required prompt and confirm dialoques to the project