Fixed a bug where child modals would incorrectly refresh the model

When editing object info, if you press Insert Link or Delete, the
entire form will refresh its data on modal close. This ensures that the
refresh occurs only when the original edit form is closed.
Fixed a usability issue with Insert Link (pasting URLs without deleting the default value)