The Library window will open if there is a download in progress in Firefox. If the Library window is the only Firefox window open and its closed, there is no warning and it just closes. I tested this in private mode - When downloading a file in this mode, the downloads page opens in a new tab instead of a window like normal mode. When closing this downloads tab in private mode and its the only tab open, a warning will show saying downloads are in progress...