generic edit ngclick created that opens up the bookmarks modal and populates the form. Also attempt to make generic API useage for custom buttons and the modal form (making sure the form submit plays nice with others)