adds modal for modification