add checks and dismiss dialog on cancel/success
add checks and dismiss dialog on cancel/success

CVeniamin/cordova-plugin-inappbrowser,CVeniamin/cordova-plugin-inappbrowser,CVeniamin/cordova-plugin-inappbrowser,CVeniamin/cordova-plugin-inappbrowser,CVeniamin/cordova-plugin-inappbrowser