fixed funny business with dialog on orientation change