fixed cancel button return error message
Merge pull request #649 from aogilvie/fix-cancel-sharedialog

fixed cancel button return error message