Froala Editor Bug - Destroy One Editor

There seems to be a bug with the image insert popup when there are multiple editors. If you destroy one of the editors then the other looses the ability to open the file selections when inserting an image.

by Panman8201

HTML

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.2/css/froala_editor.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.2/css/froala_style.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.2/js/froala_editor.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.2/css/plugins/image.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.6.2/js/plugins/image.min.js"></script>
<div id="froala-editor-a"></div>
<br><br>
<button id="destroyEditorA">Destroy Editor A</button>
<br><br>
<div id="froala-editor-b"></div>

JavaScript

var standardToolbar = ['bold','italic','underline','|','insertImage','|','undo','redo'];
$('#froala-editor-a, #froala-editor-b').froalaEditor({
	toolbarButtons: standardToolbar,
  toolbarButtonsMD: standardToolbar,
  toolbarButtonsSM: standardToolbar,
  toolbarButtonsXS: standardToolbar
});
$('#destroyEditorA').on('click', () => {
	$('#froala-editor-a').froalaEditor('destroy');
});