private void showConfirmDeleteDialog(DrawableData drawable) {
        Dialog dialog = new Dialog("Delete duplicates?", getSkin(), "bg"){
            @Override
            protected void result(Object object) {
                if ((boolean) object) {
                    projectData.setChangesSaved(false);
                    removeDuplicateDrawables(drawable.file);
                    removeRegionFromTenPatches(drawable);
                    gatherDrawables();
                    sortBySelectedMode();
                }
            }
        };
        
        dialog.getTitleTable().padLeft(5.0f);
        dialog.getContentTable().padLeft(10.0f).padRight(10.0f).padTop(5.0f);
        dialog.getButtonTable().padBottom(15.0f);
        
        dialog.text("Deleting this drawable will also delete one or more derivative drawables.\n"
                + "Delete duplicates?");
        dialog.button("OK", true);
        dialog.button("Cancel", false);
        dialog.getButtonTable().getCells().first().getActor().addListener(handListener);
        dialog.getButtonTable().getCells().get(1).getActor().addListener(handListener);
        dialog.key(Input.Keys.ENTER, true).key(Keys.NUMPAD_ENTER, true);
        dialog.key(Input.Keys.ESCAPE, false);
        dialog.show(getStage());
    }
Shows a dialog to confirm deletion of all TintedDrawables based on the
provided drawable data. This is called when the delete button is pressed
on a drawable in the drawable list.
@param drawable
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java