made canvas modal with ability to create/resize/move plots
added end_resize function to update plot model after resizing on canvas