allow the create button to work on file view as well, not just on directory view #388