Refactored the logic of adding models to canvases from two large
duplicate chunks of code to a single methods being invoked instead.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>