Under Linux, select text, copy it to the clipboard with Ctrl-C, then select some other text, and paste it below with a middle-click.
Mozilla bug 894736: while the correct text is pasted, what is displayed in the dialog box is the contents of the clipboard!
Note: to be able to reproduce the bug, dom.event.clipboardevents.enabled needs to be kept to true
.