added event listeners to buttons on conversion window

added event listeners to buttons on conversion window