made it so that when a user clicks the button for adding new directories that the form for creating directories is shown
cleaned up idea/edit.html, removing controllers to their respective partials in the templates/directory folder.