making the modal editable