Add ability to click a contact and auto populate the to input
fix a bug where the to input would be based off of the first contact