Fix issue #12: Close Dialog Box.

Fix issue where closing the 'Close' dialog box would close the application.