Update list and close modal after successful edit