Dismiss archive dialog after cancelling it to prevent it from being disp...

...layed again after orientation change