Maybe the dir plugin looks ALWAYS for the modified date (by default ?) and thus fails on freshly created pages (which have no modified date stored in the meta data). I'd like to inspect the dir plugin code, but it is currently unavailable from the link provided in the plugin page
http://wiki.splitbrain.org/plugin:dir