Make new ConfirmationDialog class abstract