Avoid re-showing windows when reverting due to a close

Issue #32