saving content into the pasteboard