Fixes the error where the new game tab doesn't close without a deadline....

... jnallard

Stops the problem of when saving a game with no deadline, the tab will not close.