added ability to delete a directory when a user deletes an idea