Add more direct support for wdired in dired mode