design the flow pop-in