@Override
            public boolean keyDown(InputEvent event, int keycode) {
                if (keycode == Keys.ESCAPE) {
                    if (filterOptions.name.equals("")) {
                        result(null);
                        hide();
                    } else {
                        filterOptions.name = "";
                        sortBySelectedMode();
                    }
                    return true;
                }
                return false;
            }
Recreates the drawables array only including visible drawables.
core/src/com/ray3k/skincomposer/dialog/DialogDrawables.java