@Override
    public boolean remove() {
        scrollPosition = scrollPane.getScrollY();

        desktopWorker.removeFilesDroppedListener(filesDroppedListener);

        try {
            if (!atlasData.atlasCurrent) {
                FileHandle defaultsFile = Main.appFolder.child("texturepacker/atlas-internal-settings.json");
                atlasData.writeAtlas(defaultsFile);
                atlasData.atlasCurrent = true;
            }
        } catch (Exception e) {
            Gdx.app.error(getClass().getName(), "Error creating atlas upon drawable dialog exit", e);
            dialogFactory.showDialogError("Atlas Error...", "Error creating atlas upon drawable dialog exit.\n\nOpen log?");
        }

        fire(new DialogEvent(DialogEvent.Type.CLOSE));
        return super.remove();
    }
Returns true if any existing drawable has the indicated name.
@param name
@return
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java