invoke callback for async hide.

When using the async version of `hide`, the next view is never shown. This is because `cb` is never called.
This PR fixes the issue.