clear the dialog system state when you exit the main state