Click events to pass values to inputs complete. Need to refactor some.