Make new ConfirmationDialog class abstract

I've found a more elegant way to make a generic reusable DialogFragment which should fix [this crash](http://ankidroid-triage.appspot.com/report_crashes?bug_id=6184842194583552) which is occasionally occurring in 2.3.2