frameListener must call close if AlignFrame