Don't keep WIDs for windows that have been closed
Don't keep WIDs for windows that have been closed

Fixes a bug where the wrong window id could be used after creating a new
dropdown in the map_post_command or for set_geometry_for_monitor

angelic-sedition/tdrop,noctuid/tdrop