Attach files to a new Wiki-page?

I would like to have files attached to a Wiki-page when using the basic Wiki-editor. For instance, if I upload a new file and click 'Insert into Post' it does not get attached to the Wiki-page.

However, if I do the same in the 'Advanced'-editor (it is the default WordPress editor screen?) the file gets attached to the Wiki after clicking 'Insert into Post'.