Well the real breakthrough was when Han exploited Leia’s weakness; her fascination with dirty hands.
Ford wanted to change the dialogue from “Leia: My hands are dirty. Han: My hands are dirty too.” to “Leia: My hands are dirty. Han: I know.” just before they kiss. However, Lucas insisted on “My hands are dirty too.”