Changes to Sharing component

Fixes oversized pop up window on devices
Adds error handling through Error Dispatcher

Change-Id: I9eab5d767e864bb6fa3f0b49adb92b99cc7d9a1d