Call completion block after view controller dismissal instead of before