Added edit and view buttons for directory settings.