changed edit buttons to modal