layout improved and confirm dialogs added before exit and starting new session