md editors are functioning for adding entries. need to add code for editing entries. then make db calls