added modal box for edit activity, working on functinoality