private void handleInput(Skin skin, boolean openNewSkin, boolean openChooser, boolean saveSkin) {
        dispose();

        if (saveSkin) {
            Main.save(skin);
        }

        if (!openNewSkin) {
            if (!openChooser) {
                Main.shutdown();

            } else {
                Main.showQuickChooser();
            }

        } else {
            if (!openChooser) {
                Main.showNewSkinDialog();

            } else {
                Main.showQuickChooser();
            }
        }
    }