Fixed window focus errors for list dialogs