Add mapping to select last inserted text