Call callback methods after dialog dismisses to prevent leaking dialog window

 - This occurs when finish() is called in onPaymentSuccess or onPaymentFailure
Call callback methods after dialog dismisses

 - This prevents dialog window leak if finish() is called during onPaymentSuccess or onPaymentFailure