Allow window state enter in dired.