Small bug fix

Fixed a small bug in the exit dialog box.