Added close button that exits the application.