When installing hinged doors and leaving the existing frame in place.
Pocket Replacement into Aluminum Frames in Stucco Walls for Flush Flange Hinged Doors
The existing hinged door panels are removed. The new door is placed inside the existing frame. The new door's flush flange covers the old frame and is sealed to the stucco.