added editing in modal