Added Close functionality and hidden the status bar