new design, added exit button with dialog