Anne Fletcher is in talks to direct Reese Witherspoon and Sofia Vergara in a new comedy.

The '27 Dresses' filmmaker is reportedly in negotiations to helm 'Don't Mess With Texas', a female-driven action comedy which will see the 'Legally Blonde' star and the 'Modern Family' actress take lead roles, reports Deadline.

The MGM financed film will see Witherspoon take on the role of a police officer and Vergara a prisoner, who are then forced to go on the run together.

In addition to a lead role, Witherspoon is also set to produce the film via her company Pacific Standard along with her partner Bruna Papandrea and Dana Fox.

Filming is scheduled to begin during Vergara's hiatus from 'Modern Family' this spring.

Meanwhile, it was announced on Monday that Dan O'Shannon - who executive produced Vergara in the ABC comedy - would be leaving the EMMY winning series at the end of this season to begin a three year deal with CBS studios.

O'Shannon has worked on 'Modern Family' since after the pilot, joining as a co-executive producer and serving as an executive producer for the past three seasons.