VE-1523: Insert template when selected and open the edit dialog

https://wikia-inc.atlassian.net/browse/VE-1523
this.fragment already exists from the parent class. I could likely just create a local variable in this function for my needs, but it seems proper to reflect changes to the fragment in this.fragment.