Closes the active Period Window.