Weird temporary flash of modal when call to hide the modal

I’m using 1.0.11 Beta. On one of my views, I have a button that displays a modal. Once I’m finished with the modal, I hit a button on the modal to hide the modal. The modal hides but the modal flashes for a half a sec and then disappears again. This seems like a weird modal flash effect for closing the modal. Does anyone know what could be causing this?


       Other Code...

       $ionicModal.fromTemplateUrl('Testing-modal.html', {
	    scope: $scope,
	    animation: 'fade-in',
	    hardwareBackButtonClose : true
	}).then(function(modal) {
	    $scope.modal = modal;
	$scope.openModal = function() {
	$scope.closeModal = function() {
	//Cleanup the modal when we're done with it!
	$scope.$on('$destroy', function() {
	// Execute action on hide modal
	$scope.$on('modal.hidden', function() {
		// Execute action
	// Execute action on remove modal
	$scope.$on('modal.removed', function() {
		// Execute action


Other Code...

<script id="Testing-modal.html" type="text/ng-template">
        <ion-header-bar class="bar bar-header bar-positive">
    	<h1 class="title">Title</h1>
    	<button class="button button-clear button-primary" ng-click="modal.hide()">Cancel</button>

Nevermind. Looks like it was fixed after I upgraded to Beta13. :smile: