newui: Assign object/paste controller to paste dialog

Fixes olgabrani/synnefo#40
Fixes olgabrani/synnefo#38