make pause & resume work correctly (bug #2211)

This resolves bug #2211 (Game resumes after entering dialogs spawned by game menu)
When ```WindowManager._session``` is not None, the game is paused when any window is opened.
When ```WindowManager._session``` is None, nothing happens.

=> I suggest to make WindowManager responsible for Pause and UnPause