Closes #246: send to modal a copy of object. Expand to other functions
Merge commit '901c3c42217a2893b2f7afadc91babf3f5270949' into HEAD