Closes #1. Added mouse event listeners and saved value back to the model.