Rewrote _createButton in terms of _createInstanceLink

This makes it more consistent, and is cleaner in code terms.  Note that
it has moved from .editing to .html.