Use non blocking dialog for Pastebin result

With this change we no longer need to call the dialog with reactor.callLater.
Also removed useless failure.trap

Closes #5404.