Example of using the ol.interaction.Draw interaction together with the ol.interaction.Modify interaction.
See the draw-and-modify-features.js source to see how this is done.