Clipboard image now saved in memory

Clipboard image now saved in memory to allow copy and paste in the save
dialog without losing the pasted image