started working on modal edit - not really working!