This is reproducible on 6.3.2.2 via CQ-4252056 but not on master instance. This doesn't seem to relate to RTE. The error in console is just a side-effect. The root cause is that when the dialog is being opened, the foundation-contentloaded event is not being triggered and RTE initializes on that event.