add solve menu to window and a confirmation dialog box