Angular bootstrap modal edit works