Wrapped the send plugin result code in a block. The block is used in the...

... dismissViewControllerAnimated:completion call. so the plugin result is only sent when the camera modal is complete dismissed.