center frame and add close operation