Fixed setting previousScrollFocus in Dialog class