registerBackButtonAction working on many views

I see similar behavior. I have an issue with closing a modal upon executing the back button. I placed a dummy do nothing function in my controller and registered it using

$ionicPlatform.registerBackButtonAction(someFunc, 100);

Because the function does nothing, the back button is completely disabled in the app, even exiting the app.