Implement insert method \o/

Also adjust popup alignment so that it remains at same horizontal
position while typing things along.