Moved dialogs to index window. Added memory for timers if app is closed.