close button fixed

Fixed the problem with the close button not working, status bar still in
progress.