Shutdown app management when a window is hide
automatic exit panel