Added directives for modals, removed edit page