added PluginResults for viewDocument Callbacks

onShow and onClose