save before adding Layout manager